package com.zerui.manager.web.cmd;

import com.alibaba.cola.dto.PageQuery;
import com.zerui.devicemanager.provider.cmd.PositionCmd;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author wh
 * @create_time 2023-05-31 11:15
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DeviceInfoCmd extends PageQuery {

	@ApiModelProperty(value="设备名称")
	private String name;

	@ApiModelProperty(value="设备编码")
	private String code;

	@ApiModelProperty(value="所属产品")
	private String type;

	@ApiModelProperty(value="设备在线离线状态")
	private Integer status;

	@ApiModelProperty(value="设备空间位置")
	private PositionCmd positionCmd;

	@ApiModelProperty(value="设备分组id")
	private Long orgId;

	@ApiModelProperty(value="运行状态 0：正常，1：告警")
	private Integer runStatus;

	@ApiModelProperty(value = "设备源 1：IoT 2：ICC")
	private Integer deviceFrom;
}
